import { RouterAPI } from "dva";
import RouterMap from "./routerMp";

const Routers = (api?: RouterAPI) => {
  const RouterELement = api ? <RouterMap api={api}></RouterMap> : {};
  return RouterELement;
};
export default Routers;
